<template>
	<div class="home">
		<div class=""></div>
		<el-tabs v-model="activeName" class="demo-tabs" @tab-click="handleClick">
			<el-tab-pane label="用户端数据" name="first">用户端数据</el-tab-pane>
			<el-tab-pane label="企业端数据" name="second">企业端数据</el-tab-pane>
		</el-tabs>
	</div>
</template>

<script lang="ts" setup>
	import { getMenu } from '../../api/admin.js'
	import { ref } from 'vue'
	import type { TabsPaneContext } from 'element-plus'

	const activeName = ref('first')

	const handleClick = (tab: TabsPaneContext, event: Event) => {
		console.log(tab, event)
	}
</script>

<style scoped lang="less">
	.home{padding: 10px;}
</style>